package com.lovo.ssc.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lovo.ssc.entity.Customer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 客户表 Mapper 接口
 * </p>
 *
 * @author lovo
 * @since 2022-07-07
 */
@Mapper
public interface CustomerMapper extends BaseMapper<Customer> {

    public IPage<Customer> findAll(IPage<Customer> page);

    public void updateState (String userName,String state);

    public void updateGrade (String userName,String grade);
}
